import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import axios from "axios";
import { Tab, Tabs } from "vant";
import { Swipe, SwipeItem } from "vant";
import { Tabbar, TabbarItem } from "vant";
import { Icon } from "vant";
import { Loading } from "vant";
import { Toast } from "vant";
import { Empty } from "vant";

Vue.use(Empty);

Vue.use(Toast);
Vue.use(Loading);
Vue.use(Icon);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Tab);
Vue.use(Tabs);

Vue.config.productionTip = false;
Vue.prototype.$axios = axios;

new Vue({
    router,
    render: (h) => h(App),
}).$mount("#app");
